import request from "../utils/request";

export const getBannerList = (params: any = {}) => {
  return request.post("/banner/list", { ...params });
};
export const getBannerAdd = (params = {}) => {
  return request.post("/banner/add", params);
};
export const getBannerUpdate = (params = {}) => {
  return request.post("/banner/update", params);
};
export const getBannerDetail = (params = {}) => {
  return request.post("/banner/detail", params);
};
export const getBannerDelete = (params = {}) => {
  return request.post("/banner/delete", params);
};
export const getBannerUpload = (params = {}) => {
  return request.post("/banner/upload", params);
};
